<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div style="min-height:300px;">
	 
	<div >
	    <div >
	    	<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">分公司名称：</label>
				    <div class="text-content">${object.title}</div>
				</div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">分公司简称：</label>
				    <div class="text-content">${object.shortName}</div>
				</div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">同步Id：</label>
				    <div class="text-content">${object.BranchId}</div>
				</div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
			    <label class="text-label">抵现比例：</label>
			    <div class="text-content">${object.predixian}</div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
			    <label class="text-label">抵现积分类型：</label>
			     <c:if test="${object.prepoint ==1 }">
			    	<div class="text-content">积分</div>
			    </c:if>
			    <c:if test="${object.prepoint ==2 }">
			    	<div class="text-content">抵扣券</div>
			    </c:if>
			    <c:if test="${object.prepoint ==3 }">
			    	<div class="text-content">惠券</div>
			    </c:if>
			    
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">主营范围：</label>
				    <c:if test="${object.scope ==1 }">
				    	<div class="text-content">常规</div>
				    </c:if>
				    <c:if test="${object.scope ==2 }">
				    	<div class="text-content">团购</div>
				    </c:if>
				    <c:if test="${object.scope ==3 }">
				    	<div class="text-content">常规+团购</div>
				    </c:if>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">地理位置：</label>
				    <div class="text-content">${object.address}</div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">店内联系方式：</label>
				    <div class="text-content">${object.tel}</div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<%-- <hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">地图定位：</label>
				    <div ><img src="${FTP_PATH}${object.storethumb}" style="width: 80%;height: 80%;"></div>
			    </div>
			    <div class="clearfix"></div>
			</div> --%>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12 thumbnail" >
				    <label class="text-label">营业执照：</label>
				    <div ><img src="${FTP_PATH}${object.busthumb}" style="width: 50%;" ></div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				 <label class="text-label">图片管理：</label>
			  	 <a class="btn btn-primary" onclick="ToPicture('${object.stroeimagenum}');">轮播图片</a>
				</div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">联系人姓名：</label>
				    <div class="text-content">${object.aname}</div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">联系方式：</label>
				    <div class="text-content">${object.aphone}</div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			 <div class="row">
				<div class="col-lg-12">
				    <label class="text-label">其他联系人：</label>
				    <div class="text-content">${object.bname}</div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			<div class="row">
				<div class="col-lg-12">
				    <label class="text-label">联系方式：</label>
				    <div class="text-content">${object.bphone}</div>
			    </div>
			    <div class="clearfix"></div>
			</div>
			<hr class="hr-line"/>
			<c:if test="${object.state==4 }">
				<div class="row">
					<div class="col-lg-12">
					    <label class="text-label" style="color: red;">驳回原因：</label>
					    <div class="text-content" style="color: red;">${object.reason}</div>
				    </div>
				    <div class="clearfix"></div>
				</div>
			</c:if>
	    </div>
	 
	</div>
</div>
<script type="text/javascript">
var Picture;
function ToPicture(stroeimagenum){
	Picture = Kit.dialog("查看图片","${BASE_PATH}/dict/store/imageIndex/"+stroeimagenum,{closable:true,size:"size-wide"}).open();
}
</script>
